package com.weike.yuanding.feign.user;

import com.weike.yuanding.core.domain.R;
import com.weike.yuanding.dto.user.UserDTO;
import com.weike.yuanding.dto.user.UserFriendDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName: UserFeign
 * @Author: YuanDing
 * @Date: 2025/4/6 10:19
 * @Description:
 */

@FeignClient("videoservice")
public interface VideoService {

    @GetMapping("video/user/info")
    public R<UserDTO> getUserInfoById(@RequestParam("userId") String userId);


}
